package com.doctcloud.datacloud.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.doctcloud.datacloud.entity.OrdersCostsEntity;
import com.doctcloud.datacloud.entity.OrdersEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface OrdersEntityMapper extends BaseMapper<OrdersEntity> {
    int batchUpsert(@Param("list") List<OrdersEntity> entities);
    List<OrdersEntity.Key> selectExistingKeys(@Param("keys") List<OrdersEntity.Key> keys);
}
